package com.wnxy.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
@Data
  @TableName("t_role")
@ApiModel(value = "Role对象", description = "角色表")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    private String roleName;

    private String roleCode;

      @ApiModelProperty("部门")
      private String department;

      @ApiModelProperty("角色描述")
      private String description;

      @ApiModelProperty("0正常1禁用")
      private Integer status;


}
